package com.gitee.randomobject.mapper;

import com.gitee.randomobject.domain.SysRole;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface RoleMapper{

    @Select("SELECT * FROM role WHERE userId = #{uId}")
    List<SysRole> findByUid(Integer uId);
}
